package com.stylefeng.sso.server.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * sso配置
 *
 * @author fengshuonan
 * @date 2018-02-03 20:53
 */
@Configuration
@ConfigurationProperties(
        prefix = "sso.server",
        ignoreUnknownFields = true
)
public class SsoProperties {

    /**
     * sso服务器的地址,以/结尾(不支持携带参数的url)
     */
    private String serverUrl;

    public String getServerUrl() {
        return serverUrl;
    }

    public void setServerUrl(String serverUrl) {
        this.serverUrl = serverUrl;
    }
}
